home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-09 | 1.4 KB | 51 lines | [TEXT/CWIE] |
- #--- Shape.Rez script -----------------------------------------------------
- # Copyright 1996. Adobe Systems, Inc.. All rights reserved.
- #
- # This script is used to compile the PiPL, PIMI, and other resources
- # for this example plug-in. Use this script if you are using ToolServer
- # with the Metrowerks CodeWarrior compiler. If you are using MPW, you
- # should use the Makefile instead.
- #
- # To use this script:
- # -------------------
- # (1) In CodeWarrior, start ToolServer (under the Tools menu). If ToolServer
- # is not installed, refer to the release notes on the CodeWarrior CD.
- #
- # (2) Open this file in CodeWarrior.
- #
- # (3) Set the first variable, PIRoot, to point to the root folder for your
- # Photoshop SDK files. Save any changes.
- #
- # (4) Choose "Execute as a Script" under the ToolServer menu icon.
- #----------------------------------------------------------------------------
-
- Set Root "Acehd2:!CodeWork:!InProgress"
- Set Headers "{Root}:Examples:Common:Headers.h"
- Set RezFiles "{Root}:Examples:Common:Rez-files.r"
- Set Source "{Root}:Examples:Selection:Shape:"
- Set SourceName "Shape"
-
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo
- Echo "Executing script..."
-
- Rez -o "{Source}{SourceName}.rsrc" -a -i {Headers} -i {RezFiles} ╢
- -c RSED -t rsrc -d Macintosh=1 -d MSWindows=0 "{Source}Common:{SourceName}.r"
-
- Echo {SourceName}" rez done."